package cn.chenchao.eshop.common.entity;

/**
 * @encoding : UTF-8
 * @Time : 2020/11/22 16:03
 * @Author : Chen Chao
 * @File : eshop.cn.chenchao.eshop.common.entity.Message.java
 * @Software : IntelliJ IDEA
 * @since : 1.8
 * 消息封装类
 */
public class Message {
    /**
     * 成功状态
     */
    public final static String SUCCESS = "SUCCESS";
    /**
     * 失败状态
     */
    public final static String FAILURE = "FAILURE";

    /**消息内容 */
    private String msg;

    /**消息类型 */
    private String msgType;
    /**用于传递消息*/
    private Object obj;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getMsgType() {
        return msgType;
    }

    public void setMsgType(String msgType) {
        this.msgType = msgType;
    }

    public Object getObj() {
        return obj;
    }

    public void setObj(Object obj) {
        this.obj = obj;
    }
}
